/* Import font */
@import url('https://fonts.googleapis.com/css2?family=Squada+One&family=Poppins:wght@300;400;600&display=swap');

:root {
    font-family: "Squada One";
}

.btn-utama {
    background:linear-gradient(90deg, #C30000 0%, #8D0000 100%) ;
}

header {
    background: linear-gradient(90deg, #C30000 0%, #8D0000 100%);
    padding: 10px 0;
}

.navbar-nav .nav-link {
    font-size: 16px;
    font-weight: 500;
    color: white;
    transition: color 0.3s ease-in-out;
    font-family: "Squada One";
}

.navbar-nav .nav-link:hover {
    color: #EAFF00;
}

.text-yellow {
    color: #EAFF00 !important;
}

.logo {
    width: 90px;
    height: auto;
}


/* =============================Banner-Hero========================== */
.hero{
    height: 315px;
    position: relative;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url('assets/img/Rectangle\ 2.png');
}


/* ============================Section============================ */
.expo-section {
    padding: 60px 0;
    background-color: #fff;
}

.expo-logo {
    width: auto;
    height: 200px;
}

.expo-title {
    font-size: 40px;
    font-weight: 700;
    text-transform: uppercase;
    color: #000;
    border-bottom: 5px solid #C30000;
    display: inline-block;
    padding-bottom: 5px;
    font-family: "Squada One";
}

.logos-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
}

.logos-container img {
    height: 50px;
}

.btn-detail-turnamen {
    background-color: #C30000;
    color: #fff;
    padding: 10px 30%;
    font-weight: bold;
    border: none;
    border-radius: 10px;
    transition: 0.3s;
}

.btn-detail-turnamen:hover {
    background-color: #8D0000;
}

.tournament-card {
    /* width: 300px; */
    border: none;
    border-radius: 10px;
    text-align: center;
    background: #fff;
    padding-bottom: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0px 8px 8px 0px rgba(0, 0, 0, 0.25);
}

.card-banner {
    width: 100%;
    height: 170px;
    background: #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-logo {
    width: 80px;
    height: 80px;
    background: #fff;
    border-radius: 50%;
    border: 2px solid #000;
    position: absolute;
    top: 130px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-logo img {
    width: 90%;
    height: 90%;
    object-fit: contain;
}

.card-content {
    margin-top: 30px;
    padding: 10px;
}

.card-content h3 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 5px;
    font-family: "Squada One";
}

.card-content p {
    font-size: 14px;
    color: #777;
    margin-bottom: 10px;
}

.btn-detail {
    background: linear-gradient(90deg, #C30000 0%, #8D0000 100%);
    color: #fff;
    padding: 8px 60px;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    transition: 0.3s;
    cursor: pointer;
}

.btn-detail:hover {
    background: #8D0000;
}


.match-section {
    padding: 50px 0;
    background-color: #fff;
}

.nav-tabs {
    justify-content: center;
    border-bottom: none;
    font-family: "Squada One";
}

.nav-tabs .nav-link {
    font-weight: 500;
    color: #000;
    padding: 10px 15px;
    border: none;
}

.nav-tabs .nav-link.active {
    color: #C30000;
    border-bottom: 3px solid #C30000;
}

.tab-content {
    margin-top: 20px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    padding: 20px 0;
    text-align: center;
}

.gallery-grid img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    border: 2px solid #C30000;
    transition: transform 0.3s ease-in-out;
}

.gallery-grid img:hover {
    transform: scale(1.05);
}

.tournament-header {
    padding: 40px 0;
    background-color: #fff;
    text-align: start;
    font-family: "Squada One";
}

.tournament-logo {
    width: 100%;
    max-width: 220px;
    text-align: end;
}

.tournament-title {
    font-size: 26px;
    font-weight: bold;
    text-transform: uppercase;
    color: #000;
}

.tournament-description {
    font-size: 16px;
    color: #333;
    margin-top: 10px;
}

.tournament-details {
    font-size: 16px;
    color: #555;
    font-weight: 600;
    margin-top: 10px;
}

.tournament-details i {
    color: #C30000;
    margin-right: 5px;
}

.tournament-date {
    margin-left: 20px;
}

.sponsor-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.sponsor-logos img {
    height: 50px;
    transition: transform 0.3s ease-in-out;
}

.sponsor-logos img:hover {
    transform: scale(1.1);
}

.garis-vertikal {
    width: 10px; /* Ubah ketebalan garis */
    height: 160px; /* Atur tinggi garis */
    background: #C30000;
    justify-content: center;
    margin: 2px auto;
  }

  .match-schedule {
    padding: 40px 0;
    background-color: #f8f9fa;
}

.match-date {
    font-size: 16px;
    font-weight: 600;
    color: #000;
    margin-bottom: 15px;
    padding: 0 100px;
}

/* Kartu Pertandingan */
.match-card {
    background: white;
    border-radius: 12px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    border: 1px solid #ddd;
}

/* Info Pertandingan */
.match-info {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #777;
    margin-bottom: 10px;
}

/* Tim dengan Nama di Samping Logo */
.team-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 0;
}

/* Logo Tim */
.team img {
    width: 40px;
    height: 40px;
    border-radius: 5px;
}

/* Nama Tim */
.team-name {
    font-size: 16px;
    font-weight: 600;
    margin-left: 10px;
}

/* Skor */
.score {
    position: absolute;
    font-size: 20px;
    font-weight: bold;
    right: 70px;
}

/* Status Pertandingan */
.match-status {
    position: absolute;
    right: 15px;
    top: 60%;
    transform: translateY(-50%);
    color: white;
    font-weight: bold;
    padding: 6px 12px;
    border-radius: 5px;
    font-size: 14px;
}

.bm {
    background: purple;
}
.sm {
    background: rgb(0, 128, 0);
}
.ft {
    background-color: #3F915F;
    font-family: "Poppins";
    padding: 6px 12px;
    font-weight: bold;
    border-radius: 5px;

}

/* Responsiveness */
@media (max-width: 768px) {
    .match-card {
        width: 100%;
    }
}


.tournament-bracket {
    padding: 40px 0;
    background: #f8f9fa;
    text-align: center;
}

.tournament-bracket .section-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 30px;
}

/* Struktur Bagan */
.tournament-bracket .bracket {
    display: flex;
    justify-content: center;
    gap: 80px;
    flex-wrap: wrap;
}

/* Setiap Babak */
.tournament-bracket .round {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

/* Kartu Pertandingan */
.tournament-bracket .match {
    background: white;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    border: 2px solid #ddd;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    width: 250px;
}

/* Garis Koneksi Bagan */
.tournament-bracket .match::after {
    content: "";
    position: absolute;
    width: 40px;
    height: 2px;
    background: black;
    right: -40px;
    top: 50%;
}

.tournament-bracket .round.final .match::after {
    display: none; /* Garis di final tidak perlu lanjut */
}

/* Tim */
.tournament-bracket .team {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 5px 0;
}

.tournament-bracket .team img {
    width: 40px;
    height: 40px;
    border-radius: 5px;
}

.tournament-bracket .team-name {
    font-size: 16px;
    font-weight: bold;
    flex: 1;
    text-align: left;
}

.tournament-bracket .score {
    font-size: 18px;
    font-weight: bold;
}

/* Responsiveness */
@media (max-width: 768px) {
    .tournament-bracket .bracket {
        flex-direction: column;
        align-items: center;
    }
}


#bracket {
    overflow:hidden;
    background-color: #ffffff00;
    padding-top: 20px;
    font-size: 12px;
    padding: 0  0 60px 0;
}

.container-bracket {
    width: 80%;
    justify-content: center;
    margin: 0 auto;
}

.container-bracket .split {
    display:block;
    float:left;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display:flex;
    width: 35%;
    -webkit-flex-direction:row;
    -moz-flex-direction:row;
    flex-direction:row;
}

.container-bracket .champion {
    float:left;
    display:block;
    width: 30%;
    -webkit-flex-direction:row;
    flex-direction:row;
    -webkit-align-self:center;
    align-self:center;
    margin-top: 55px;
    text-align: center;
    padding: 230px 0\9;
}

.container-bracket .champion i {
    color: #a0a6a8;
    font-size: 45px;
    padding: 10px 0;
}

.container-bracket .round {
    display:block;
    float:left;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display:flex;
    -webkit-flex-direction:column;
    flex-direction:column;
    width:95%;
    width:30.8333%\9;
}

.container-bracket .split-two {
    font-family: "Poppins";
}

.container-bracket .split-one .round {
    margin: 0 2.5% 0 0;
}

.container-bracket .split-two .round {
    margin: 0 0 0 2.5%;
}

.container-bracket .matchup {
    margin:0;width: 100%;padding: 10px 0;height:60px;-webkit-transition: all 0.2s;transition: all 0.2s;
}

.container-bracket .score {
    font-size: 11px;text-transform: uppercase;float: right;color: #2C7399;font-weight: bold;font-family: 'Roboto Condensed', sans-serif;position: absolute;right: 5px;
}

.container-bracket .card {
    gap: 15px; /* Jarak antar elemen */
    padding: 10px;
    background: white;
    border-radius: 8px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    width: 100%; /* Pastikan elemen melebar */
}

.container-bracket .card .tanding {
    display: flex;
    align-items: center; /* Posisikan elemen di tengah vertikal */
    justify-content: space-between; /* Jarak antar elemen */
    flex-direction: row; /* Atur elemen dalam satu baris */
}

/* Gaya untuk teks skor */
.container-bracket .card h4, .card h3 {
    margin: 0;
    font-size: 20px;
    font-weight: bold;
}

.container-bracket .card p {
    margin: 0 auto;
    color: #777;
}

.container-bracket .card img {
    width: 50px;
    height: 50px;
}

.container-bracket .pemisah {
    width: 100%;
    height: 100%;
    object-fit: contain;
}


.round-two .matchup {
    margin:0; height: 60px;padding: 50px 0;
}

.round-three .matchup {
    margin:0;
    height: 60px;
    padding: 60px 0;
    background-color: none;
}

.round-details {
    font-family: 'Roboto Condensed', sans-serif; font-size: 13px; color: #2C7399;text-transform: uppercase;text-align: center;height: 40px;
}

.champion li, .round li {
    background-color: #d60000;box-shadow: none; opacity: 0.45;
}

.current li {
    opacity: 1;
}

.current li.team {
    background-color: #d60000;box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);opacity: 1;
}

.vote-options {
    display: block;height: 52px;
}

.share .container {
    margin: 0 auto; text-align: center;
}

.share-icon {
    font-size: 24px; color: #d60000;padding: 25px;
}

.share-wrap {
    max-width: 1100px; text-align: center; margin: 60px auto;
}

.final {
    margin: 4.5em 0;
}

@-webkit-keyframes pulse {
  0% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }

  50% {
    -webkit-transform: scale(1.3);
    transform: scale(1.3);
  }

  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

@keyframes pulse {
  0% {
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
  }

  50% {
    -webkit-transform: scale(1.3);
    -ms-transform: scale(1.3);
    transform: scale(1.3);
  }

  100% {
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
  }
}

.group-card {
    width: 354px;
    margin: 10px;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: #fff;
}
.group-title {
    color: #d32f2f;
    font-size: 20px;
    font-weight: bold;
}
.table th, .table td {
    vertical-align: middle;
    font-size: 10px;
}
.team-logo {
    width: 25px;
    height: 25px;
}
.team-name {
    width: 150px;
}

.player-card {
    margin-bottom: 20px;
}
.player-card img {
    width: 100%;
    height: auto;
}
.player-info {
    font-size: 1.2rem;
    font-weight: bold;
    line-height: 1.2;
    font-family: "Squada One";
}
.player-stats {
    font-size: 1rem;
    font-family: "Squada One";
}

.team-info {
    font-size: 12px;
    color: #777;
    font-weight: 500;
}

#top-skor h2 {
    font-family: "Squada One";
    color: #C30000;
}

.match-detail {
    margin-top: 20px;
    font-size: 14px;
    color: #666;
}
.team-logo {
    width: 100px;
    height: 100px;
}
.score-detail {
    font-size: 36px;
    font-weight: bold;
}
.ft-detail {
    background-color: #28a745;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 18px;
}
.scorer {
    font-size: 14px;
    color: #666;
}
.scorer i {
    margin-left: 5px;
}
.header-logo {
    margin: 20px auto;
    width: 300px;
}
.team-info {
    display: flex;
    align-items: center;
    width:183px;
}
.team-info div {
    margin-left: 10px;
}

/* Induk utama */
.match-details {
    text-align: center;
    margin-top: 20px;
}

/* === Tab Navigasi === */
.match-details .tab {
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    padding: 5px;
    border-bottom: 3px solid transparent;
    margin: 0 15px;
}

.match-details .tab.active {
    border-bottom: 3px solid red;
}

.match-details .tab-content {
    display: none;
}

.match-details .tab-content.active {
    display: block;
}

/* === Lapangan dan Pemain === */
.match-details .field-img {
    width: 100%;
    max-width: 600px;
}

.match-details .player-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.match-details .player-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.match-details .player-name {
    font-weight: bold;
}

/* === Statistik === */
.match-details .team-logo {
    width: 80px;
}

.match-details .stat-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.match-details .progress-bar {
    width: 60%;
    height: 10px;
    background: lightgray;
    display: flex;
    position: relative;
}

.match-details .progress {
    height: 100%;
    background: green;
}

/* Induk utama */
.match-formation {
    text-align: center;
    margin-top: 20px;
    position: relative;
}

/* === Formasi Pilihan === */
.match-details .formation-options {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}

.formation-options button {
    padding: 5px 10px;
    border: 1px solid black;
    background: white;
    cursor: pointer;
    font-size: 12px;
    font-weight: bold;
    border-radius: 3px;
}

.formation-options button.active {
    background: red;
    color: white;
}

/* === Lapangan Sepak Bola === */
.field-container {
    width: 600px;
    position: relative;
    margin: auto;
}

/* === Gambar Lapangan === */
.field-img {
    width: 100%;
    border-radius: 5px;
}

/* === Posisi Pemain === */
.match-formation .player {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Lingkaran Nomor Pemain */
.match-formation .player-number {
    width: 20px;
    height: 20px;
    background: black;
    color: white;
    font-size: 10px;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 3px;
}

/* Foto Pemain */
.match-formation .player-img {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    border: 1px solid white;
}

/* Nama Pemain */
.match-formation .player-name {
    font-size: 8px;
    font-weight: bold;
    text-align: center;
    width: 50px;
}



